package com.liang.repository;/*
 *@Author: ljy
 *@Date:2021/12/22 21:00
 *
 */

import com.liang.entity.Student;

import java.util.Collection;

public interface StudentRepository {
    public Collection<Student> findAll();
    public Student findById(long id);
    public void saveOrUpdate(Student s);
    public void deleteById(long id);
}
